package cn.iocoder.yudao.module.pplan.controller.admin.recipe.vo;

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY;
import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 生产计划-餐谱数据管理分页 Request VO")
@Data
public class RecipePageReqVO extends PageParam {

    @Schema(description = "餐谱名称")
    private String recipeCode;

    @Schema(description = "餐谱编号", example = "李四")
    private String recipeName;

    @Schema(description = "所属航空公司", example = "31630")
    private Long airlineId;

    @Schema(description = "航线类型", example = "1")
    private String airlineType;

    @Schema(description = "舱位等级")
    private String cabinClass;

    @Schema(description = "餐食类别")
    private String mealService;

    @Schema(description = "对应套餐")
    private String mealSet;

    @Schema(description = "是否启用")
    private Boolean isActive;

    @Schema(description = "有效期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY)
    private LocalDate[] expireDate;

    @Schema(description = "备注")
    private String remarks;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}